package com.woniuxy.dao;

import com.woniuxy.entity.RbacManagerPerm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 佘赛飞
 * @create 2021 -11 -16 9:09 PM
 */
public interface RbacManagerPermDao {
    List<RbacManagerPerm> findAll();

    void addManagerPerm(RbacManagerPerm managerPerm);

    void delManagerPerm(RbacManagerPerm managerPerm);

    void upData(@Param("managerPerm") RbacManagerPerm managerPerm,
                @Param("omi") int oldManager_id,
                @Param("opi") int oldPerm_id);
}
